#define  _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int mystrlen(char*arr)
{
	int count = 0;
	while (*arr!='\0')
	{
		count++;
		arr++;
	}
	return count;
}

int main()
{
	char arr[] = "abcdefg";
	int len=mystrlen(arr);
	printf("%d", len);
}